Skip to main content

Find Delivery Order Logs

GET {{base_url}}/delivery-orders/logs

Description

This API endpoint is used to find delivery order logs based on various criteria.

API Request:

Headers:

NameDescription
tenantIdA string identifying the tenant.
countryCodeA string representing the country code.
Query Parameters:
NameTypeDescription
pageNumberintegerThe page number for pagination.
pageSizeintegerThe size of each page for pagination.
isActivebooleanIndicates whether the order log is active.
statusstringThe status of the delivery order log.
isAssignedbooleanIndicates whether the order log is assigned.
orderRefarrayAn array of order reference strings.
trackingCodearrayAn array of tracking code strings.
startDatestringThe start date for filtering order logs.
endDatestringThe end date for filtering order logs.
Responses:
  • 200 OK:
{
"status": true,
"statusCode": 0,
"message": "Delivery order logs found.",
"data": {},
"errors": []
}

  • 400 Bad Request:
{
"status": false,
"statusCode": 400,
"message": "Invalid reference supplied.",
"errors": [
{
"message": "Invalid reference supplied.",
"descriptiveMessage": "The provided reference is not valid. Please ensure correct values are supplied."
}
]
}

  • 404 Not Found:
{
"status": false,
"statusCode": 404,
"message": "Delivery Order log not found.",
"errors": [
{
"message": "Delivery Order log not found.",
"descriptiveMessage": "No delivery order logs were found matching the specified criteria."
}
]
}


LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /delivery-orders/logs \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!